<%= link_to "BeyondRails论坛", HOME + "/forums" %> » <%= link_to @comment.forum.title, forum_path(@comment.forum) %> » <%= link_to @comment.post.title, post_path(@comment.post) %> » 更新回复
<% form_for @comment, :html => {:onsubmit => "copy_content_before_form_submit('editor', 'comment_content');"} do |f| %>
<%= f.error_messages %>
<table>
    <tr>
        <td style="vertical-align: top;">
            <%= f.label :content, "内容" %>
        </td>
        <td>
            <%= f.text_area :content, :style => "display: none" %>
            <iframe id="editor" name="editor" src="/editor.html?ubb=0&id=comment_content" frameBorder="0" marginHeight="0" marginWidth="0" scrolling="No" style="height:400px;width:700px"></iframe>
        </td>
    </tr>
    <tr>
        <td>
			<%= image_submit_tag("/images/forum/update_comment.png") %>
        </td>
    </tr>
</table>
<% end %>